'use strict'
/**
 * 方法类
 */
//------------------------------------------------------------------
import 'vant/lib/index.css'
import '@/assets/css/index.less'
import '@/assets/icon/iconfont.css'
import { createApp } from 'vue'
import vant from 'vant'
import sys from '/src'
import App from './App.vue'
import dayjs from 'dayjs'
import zhCN from 'dayjs/locale/zh-cn'
import collegeConfig from './config/index'
// import VConsole from 'vconsole';

// process.env.NODE_ENV !== 'development' && new VConsole();

//------------------------------------------------------------------

// 全局初始化dayjs
dayjs.locale(Object.assign(zhCN, { weekStart: 1 }))

// 系统初始化
const app = createApp(App)
// app.config.globalProperties.$dic = dic
app.ignoredElements = [
  'wx-open-launch-weapp'
]
app.use(vant)
app.use(sys, {
  plugins: [ collegeConfig ]
})

app.mount('#app')
